Imaging system with unsupervised learning

ABSTRACT

An imaging system and method uses grouping and elimination to label images of unknown items. The items may be stacked together with known or unknown items. The items may be packages, such as packages of beverage containers. A machine learning model may be used to infer skus of the packages. The machine learning model is trained on known skus but is not trained on unknown skus. Multiple images of the same unknown sku are grouped using the machine learning model. Elimination based upon lists of expected skus is used to label each group of unknown skus.

BACKGROUND

The assignee of the present application has developed a validation system which images a stack of items, such as a stack of products on a pallet. The images are analyzed by the system using machine learning models to identify the skus of the items on the pallet. The identified skus are then compared to the skus on the picklist corresponding to the pallet. A user is notified of any errors, and the system may aid in correcting any such errors.

In one implementation, the skus are containers of beverage containers. Each sku has an associated package type and an associated brand. The possible package types include cartons of cans of a beverage, plastic beverage crates containing bottles or cans, cardboard boxes containing bottles, cardboard trays with a plastic overwrap containing plastic bottles. Additionally, there are different size bottles, different size cans, etc. The “brand” indicates the particular beverage contained therein (e.g. flavor, diet/regular, caffeine/no caffeine, etc). There are many different kinds of beverages that can be inside the many different beverage containers, although some beverages are only provided in a subset of the beverage containers. There are many different permutations of flavors, sizes, and types of beverage containers in each warehouse or distribution center.

Additionally, even for a given brand and a given package type, the exterior appearance of the package may vary. For example, often a beverage producer will change the exterior appearance of cartons of cans, such as for a holiday season, sponsored sporting event, or other promotion.

Generally, the system must have some information about each sku in order to identify the skus in an image. For example, if the system is implemented using machine learning, the machine learning model must be trained with known sample images of each sku in order to be able to recognize that sku in an image of a stack of items on a pallet. One of the challenges is being able to quickly incorporate new skus into the system quickly so that the new skus will be recognized by the system as they appear on pallets.

Disclosed herein is a system and method for identifying new skus that have not yet been trained or otherwise added to the imaging system in the typical way.

SUMMARY

A system and method are provided for imaging and a stack of a plurality of items and identifying those items when the plurality of items that include at least some items on which the machine learning model has not been trained.

A computing system for evaluating a stack of a plurality of items includes at least one processor and at least one non-transitory computer-readable medium storing at least one machine learning model and instructions that, when executed by the at least one processor, cause the computing system to perform the following operations. The computing system receives at least one image of the stack of the plurality of items. The computing system analyzes the at least one image using at least one machine learning model. The computing system compares the plurality of items to the list of expected items. The foregoing steps are repeated for each of a plurality of stacks of the plurality of items. The computing system then uses the at least one machine learning model to form a plurality of groups of images of the plurality of items in the stacks. The computing system then assigns one of the expected items to each of the plurality of groups of images based upon the expected lists of items.

The computing system may then use the plurality of groups of images and the assigned expected items to train the at least one machine learning model.

The computing system may use the elimination based upon the images of the plurality of stacks.

The images of the plurality of items in stacks may be images of a plurality of items on stacks on a plurality of pallets. The plurality of items may be a plurality of packages. The plurality of packages may contain beverage containers and the at least one machine learning model may be trained on images of a plurality of known packages containing beverage containers.

Based upon the analysis of the at least one image of the stack of the plurality of items, the computing system may recognize a recognized subset of the plurality of items. Based upon the analysis of the at least one image of the stack of the plurality of items, the computing system may determine that the at least one machine learning model has not been trained on an unrecognized subset of the plurality of items. The computing system may compare the recognized subset of the plurality of items to a list of expected items. The computing system may compare the unrecognized subset of the plurality of items to the list of expected items. The foregoing steps are repeated for each of a plurality of stacks of the plurality of items. The computing system then uses the at least one machine learning model to form a plurality of groups of images of the plurality of items in the unrecognized subsets of the plurality of items in each of the stacks. The computing system then assigns one of the expected items to each of the plurality of groups of images based upon the expected lists of items.

The computing system may compare the unrecognized subset of the plurality of items to the list of expected items that did not match the recognized subset of the plurality of items.

A method is disclosed for identifying a plurality of items in a stack using a computing system including at least one machine learning model. The method includes receiving at least one image of the plurality of items in the stack. The at least one image is analyzed using the at least one machine learning model. The plurality of items is compared to the list of expected items. The foregoing steps are repeated for each of a plurality of stacks of the plurality of items. Then, using the at least one machine learning model, a plurality of groups are formed of images of the plurality of items in the stacks. Based upon the expected lists of items, one of the expected items is assigned to each of the plurality of groups of images.

The plurality of groups of images and the assigned expected items may then be used to train the at least one machine learning model.

The unrecognized subset of the plurality of items may be compared to the list of expected items that did not match the recognized subset of the plurality of items. Elimination may be used based upon the images of the plurality of stacks.

The stack of the plurality of items may be imaged with a camera, such as a camera mounted adjacent a turntable.

The images of the plurality of items in stacks may be images of the plurality of items stacked on a plurality of pallets.

The plurality of items may be a plurality of packages. The plurality of packages may contain beverage containers. The at least one machine learning model may be trained on images of a plurality of known packages containing beverage containers.

The at least one machine learning model may be trained with a plurality of images of known items, such as packages of beverage containers labeled with known skus.

In the disclosed method, based upon the analysis of the at least one image using the at least one machine learning model, it may be determined that the at least one machine learning model has not been trained on an unrecognized subset of the plurality of items and a recognized subset of the plurality of items may be recognized. The recognized subset of the plurality of items is compared to the list of expected items. The unrecognized subset of the plurality of items is compared to the list of expected items. These steps are repeated for each of a plurality of stacks of the plurality of items. Then, using the at least one machine learning model, a plurality of groups are formed of images of the plurality of items in the unrecognized subsets of the plurality of items in each of the stacks. Based upon the expected lists of items, one of the expected items is assigned to each of the plurality of groups of images

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows one example of an imaging system.

FIG. 2 demonstrates the unsupervised learning method used in the imaging system of FIG. 1 .

FIG. 3 is a flowchart of an example unsupervised learning method used in the imaging system of FIG. 1 .

DETAILED DESCRIPTION

FIG. 1 shows one embodiment of an imaging system, which in this example is implemented as a pallet wrapper and imaging system 10. The system 10 includes a pallet wrapper 12 having a turntable 14 and at least one camera 16 directed toward the area above the turntable 14. A weight sensor (not visible) may be under the turntable 14 for measuring weight on the turntable 14. Alternatively, the imaging system 10 could be implemented independently of the wrapper.

Lights 18 may direct illumination toward the area above the turntable 14 to assist the camera 16. The computer 26 is programmed to control the turntable 14 and the camera 16 so that the turntable 14 rotates and the camera 16 takes one or more images of the loaded pallet 50. A roll of stretch film 20 is mounted to a tower 22 adjacent the turntable 14. As is known, the roll of stretch film 20 is mounted to be moved vertically on the tower 22, such as by a motor (not shown), while the turntable 14 rotates.

A user interface 24, such as a touchscreen, is mounted on or near the tower 22. A computer 26 includes at least one processor and storage which stores instructions which when executed by the processor perform the functions described herein. A server 30 includes a plurality of machine learning models 32 trained on images of the known skus in the warehouses, which in this example is packages of beverage containers.

In use, the server 30 receives a plurality of orders 34 from stores 36 and presents a pick list of skus to the worker, indicating which items to place on each pallet 50. The worker places the items (e.g. the plastic bottle crates 52 with the plastic bottles 54) on the pallet 50 according to the pick list.

The pallet 50, which could be a half-pallet or a full-size pallet, is loaded with items such as packages of beverage containers, which may include secondary packaging such as bottle crates 52 containing primary packaging, such as bottles 54. The loaded pallet 50 is placed on the turntable 14 for validation and wrapping

Preferably, the computer 26 controls the camera 16, lights 18 and turntable 14 so that the camera 16 takes an image of each of the four sides of the loaded pallet 50. The assignee of the present application has developed a validation system that uses machine learning to identify skus of the items on the pallet 50. This is disclosed more fully in US20220129836, filed Oct. 22, 2021, assigned to the assignee of the present application and which is hereby incorporated by reference in its entirety.

Briefly, as described in previous patents, the computer 26 receives images from the camera 16, weight data from the weight sensor, and communicates with the user interface 24. The computer 26 sends all collected data to the server 30, which could be a cloud computer that also receives the same data from other such systems 10 in the same warehouse and such systems 10 in other warehouses in other geographic locations around the world.

The computer 26 (or server 30) identifies the skus of the items on the pallet 50 based upon the images of the stacked items on the pallet 50. In one implementation, each image of the loaded pallet 50 is separated into images of each item on the pallet 50. The packaging type of each item on the pallet 50 (which in this example is a known/expected combination of both the secondary packaging and the primary packaging) is first identified using one machine learning model 32 to analyze the images of the items on the loaded pallet 50. The package types may include, just as illustrative examples, plastic beverage crate with eight 2-liter plastic bottles (shown in FIG. 1 ), plastic beverage crate with twenty-four 20 oz plastic bottles, corrugated cardboard box, cardboard tray with twenty-four 20 oz plastic bottles and plastic overwrap, cardboard box holding thirty-six 12 oz aluminum cans, and others. The “brand” (i.e. the specific content, such as the flavor and type of the beverage) is then identified using another machine learning model 32 (which has been selected from among a plurality of brand machine learning models 32 based upon the identified package type) to analyze the images of the items on the pallet 50. The computer 26 then compares the identified skus to the expected skus on the order/pick list and generates alerts (such as on user interface 24) for any mismatches.

This application provides an improved system and method for learning new skus. Supervised learning requires labeled data. That is, each image of a sku must be labeled by hand as that sku in order to train the machine learning models 32. Active learning speeds up this process by labeling the majority of the trained skus automatically. It however cannot reliably label untrained skus, or skus where the packaging has changed significantly. The present application discloses a system and a method implementing unsupervised learning that can automatically label new skus, sku changes, new packaging, and new package types.

Unsupervised learning for a simpler problem is a well-studied computer vision problem. It can take many forms depending on the problem, but one is called unsupervised image clustering. In an example problem, there are 500 unlabeled images of cats and 500 unlabeled images of dogs. To train a cat vs dog model, one would have to label those 1000 images by hand. However, if those 1000 images were fed into an unsupervised image clustering method, it would split those images into two unlabeled groups such that all the cats are in one group and all the dogs are in the other group. Now all you have to label is the two groups. By looking at which group has pictures of cats in it, one can determine that that group must be the cat group. Then by labeling that group as cats, all images in the group are labeled as cats as well. The number of labels created by hand went from 1000 to 2.

However, the above case only works because everyone knows what cats and dogs look like. For the sku validation system, hardly anyone knows what “01200002463” looks like, which would be the output of the inference engine using the machine learning models 32 based upon an image of one of the items on the pallet 50 (such as a bottle crate 52 loaded with bottles 54). However, an elimination method utilizes the picklists from many pallets 50 plus the groups of skus that come from the clustering method in order to automatically label each group.

The elimination method uses images of multiple loaded pallets 50 to identify skus rather than just using a single pallet 50. While one could sometimes use the process of elimination using a single pallet 50, it would be hard to trust the method due to bad data such as bad picklist data, bad detections, stitching errors, bad lighting, etc. Running the method on more pallets 50 increases confidence in its decisions.

The picklists 34 and unlabeled groups are the input to the elimination method. The output of the method is the labeled groups.

After the method finishes, the labeled groups are used to label each individual sku, and then the final labeled images are automatically sent to the Training Set and new models are created and deployed. This process continuously runs in the cloud.

An example will be shown with reference to FIG. 2 and the flowchart of FIG. 3 , using three unknown skus in different combinations on three pallets with their associated picklists. On pallet 1, there are two each of unknown products A, B, and C, and the associated picklist 1 indicates skus a, b, and c. On pallet 2, there are only one of each of unknown products A and C, and the associated picklist 2 indicates skus a, and c. On pallet 3, there are two each of unknown products B and C, and the associated picklist 3 indicates skus b and c. For the most part, the various steps of the method of FIG. 3 could be performed on the computer 26 and/or the server 30 (either of which or some combination thereof being a “computing system”).

As explained above, the stack of items on the pallet 1 is imaged in step 110. An image of each of the plurality of items is generated in step 112 (i.e. the images of each of the items are separated from the images of the entire stack of items). Each of the images of each of the items is analyzed in step 114 using at least one machine learning model 32 (FIG. 1 ). The skus of a recognized subset of items in the stack of items on the pallet 1 may be inferred with a sufficiently high confidence level in step 116 (the recognized items are not shown in FIG. 2 for simplicity).

In step 118, the machine learning model will not recognize product images A, B, and C as skus a, b, and c because the model has not been trained on those skus. In other words, the highest confidence level at which skus are inferred by the inference engine based upon the machine learning models 32 will be below a minimum threshold (e.g. 60%). It is also contemplated that this method could be used even if the machine learning model has been trained on none of the skus.

In step 120, the recognized subset of items will be compared to the list of expected items, i.e. the pick list. As before, matches will confirm that the items have been properly picked for that order. Mismatches will require correction. Optionally, any pallets with any indicated errors among the recognized subset of items may be ignored in steps 124 to 132.

In step 122, the unrecognized subset of items (in this example, two each of products A, B, and C) is compared to the list of expected items (again, the pick list)—in particular, the items that were not already matched to the recognized subset of items, in this example, two each of skus a, b, and c. Optionally, if a one-to-one correspondence is lacking, i.e. if there were not two each of three unrecognized products and two each of three expected skus not matched to the recognized items, then the data from this pallet may be ignored in steps 124 to 132.

Steps 110 to 122 are repeated for pallets 2 and 3. In practice, many more loaded pallets would be used in this method. For example, hundreds or thousands of loaded pallets with the unrecognized products may be imaged over the course of a day (or week or month) before the method proceeds to step 124.

In step 124, the server 30 recognizes that unknown product A on pallets 1 and 2 are the same sku, unknown product B on pallets 1 and 3 are the same sku, and unknown product C on pallets 1, 2, and 3 are the same sku. This is the grouping method. The server 30 may group these products using the machine learning models 32. Again, the server 30 did not infer any known skus at a high confidence level using the machine learning models 32; however, the inference engine of the server 30 still generates an output for each product. If those outputs are similar enough to one another, then they are grouped (i.e. they are the same sku, albeit unknown sku).

In step 126, the server 30 performs the elimination method in conjunction with the picklists. In this manner, the system can learn which images are associated with which skus. In this simplified example, the system knows that skus a, b, and c are supposed to be on pallet 1, skus a and c are supposed to be on pallet 2, and skus b and c are supposed to be on pallet 3.

According to the picklists, sku b is supposed to be on pallet 1, but not on pallet 2. Therefore, the system can determine through elimination that the image of the product B on pallet 1 must correspond to sku b (step 128). The system already knows that product B on pallet 1 is the same as product B on pallet 3, so now it knows that product B on pallet 3 is also sku b (step 128). By elimination, product C on pallet 3 must be sku c. Via the grouping, product C on pallets 1 and 2 must also be sku c. By eliminating products B and C and skus b and c in step 126, the system determines that product A on pallets 1 and 2 is sku a in step 128.

After the elimination method finishes, the labeled images of the products (i.e. associating the images of the products A, B, C, with skus a, b, c respectively) are automatically sent to the training set and new machine learning models are created and deployed in step 132 (such as at the end of the day, or weekly, or monthly). This process continuously runs in the cloud (on server 30).

Additionally, elimination may be done by identifying a unique quantity of the sku in the case that two pallets have the same skus, but in different quantities. For example, if we want to identify product C on pallet 1, and all we have are pallets 1 and 4, then we can do so by grouping the images and then combining the picklists. The resulting picklist would be four of a, 4 of b, and five of c. The image/sku groups would also show there is a group of four images, a group of four images, and a group of five images. We can then assume that the group of five images must be the group of five skus from the picklist, which is sku c.

Additionally, a voting system may be used to increase confidence by identifying disagreements about which sku an image actually is. In the above example, pallets 1 and 4 were combined to identify sku c on pallet 1. This result can be double checked by combining pallet 1 and pallet X instead of pallet 1 and pallet 4, where X is any pallet that would also result in a unique quantity for sku c. This is repeated for a plurality of combinations of pallets, for such combinations that yield unique quantities for one of the skus. The more combinations used for each sku, the more votes a sku receives and the higher the confidence we have in the predicted label.

In practice, there will be many more than three or four pallets and there will be some errors, e.g. sometimes new unknown product B will be loaded on a pallet when the picklist called for new sku c. But with larger numbers of samples, the errors can be identified and eliminated in the elimination method. The system will recognize that elimination methods would yield a sku for a few of the images that is different from the other images in the same group. Those results are eliminated and not used further in the elimination method or in future training of the machine learning model.

With this system and method, new skus can be introduced into the warehouse or distribution center more easily.

It should also be noted that the techniques disclosed above, it is not necessary that there are any previously-known skus. The techniques could be used to train the machine learning model(s) without any previously-labeled images of the actual products in the warehouse. All of the packages in the warehouse could be unknown. The machine learning model(s) may be preliminarily trained with some images of similar products (e.g. similar packages of beverage containers) that are hand-labeled. If there are enough permutations of the packages on pallets, then eventually the machine learning model(s) would be fully trained on all of the skus.

As new skus are added, the techniques described above will label images of the new products as the new skus. The machine learning model(s) will be retrained periodically using the images labeled using the techniques described above, including any previously-labeled images. In other words, the machine learning model(s) could be trained with the images that were labeled in one time period using the methods described above, and then the machine learning model(s) could be retrained with those previously-labeled images and with new labeled images of old skus and new skus that were received and labeled in a subsequent time period. Over time the machine learning model(s) will improve for all of the skus, even as they change.

Although the present invention is described in the context of training machine learning models to identify packages, in particular packages of beverage containers, the present invention could be used in other systems to learn new skus of other items or other objects or anything (images, sounds, patterns, etc) that can be recognized by machine learning, computer vision, or other systems.

Additionally, it is also contemplated that the unsupervised learning method disclosed herein could be used in conjunction with and complementary to some supervised learning, active learning, and/or manual labeling of data.

In accordance with the provisions of the patent statutes and jurisprudence, exemplary configurations described above are considered to represent a preferred embodiment of the invention. However, it should be noted that the invention can be practiced otherwise than as specifically illustrated and described without departing from its spirit or scope. Alphanumeric identifiers on method steps are solely for ease in reference in dependent claims and such identifiers by themselves do not signify a required sequence of performance, unless otherwise explicitly specified. 

What is claimed is:
 1. A method for identifying a plurality of items in a plurality of stacks using a computing system including at least one machine learning model, the method including: a) receiving a plurality of images including at least one image of each the plurality of items in each of the plurality of stacks; b) generating an output based upon each of the plurality of images using the at least one machine learning model; c) forming a plurality of groups of the outputs associated with the plurality of images, by grouping similar ones of the outputs together; d) comparing the plurality of groups to a plurality of lists of expected items, each of the plurality of lists of expected items associated with one of the plurality of stacks; and e) based upon step d), assigning one of the expected items to each of the plurality of groups.
 2. The method of claim 1 further including: f) training at least one new machine learning model using at least some of the plurality of images and the assigned ones of the expected items.
 3. The method of claim 1 further including a step of imaging the plurality of stacks of the plurality of items prior to step a).
 4. The method of claim 1 wherein step e) includes using elimination based upon the plurality of images and based upon the plurality of lists of expected items.
 5. The method of claim 4 wherein elimination is performed based upon quantities of expected items indicated in the plurality of lists.
 6. The method of claim 1 wherein the plurality of stacks are stacked on a plurality of pallets.
 7. The method of claim 6 wherein the plurality of items are a plurality of packages.
 8. The method of claim 7 wherein the plurality of packages contain beverage containers and wherein the at least one machine learning model is trained on images of a plurality of known packages containing beverage containers.
 9. The method of claim 1 wherein steps c) to e) are performed for each of a plurality of different subsets of the plurality of stacks.
 10. The method of claim 9 further including: assigning a confidence value to each of the assignments of one of the expected items based upon a number of different subsets upon which that one of the expected items was assigned.
 11. The method of claim 1 further including: f) identifying a recognized subset of the plurality of items based upon step b); and g) performing steps c) to e) for the plurality of items not identified in step f).
 12. A computing system for evaluating a stack of a plurality of items comprising: at least one processor; and at least one non-transitory computer-readable medium storing: at least one machine learning model; and instructions that, when executed by the at least one processor, cause the computing system to perform operations comprising: a) receiving a plurality of images including at least one image of each of the plurality of items in each of the plurality of stacks; b) generating an output based upon each of the plurality of images using the at least one machine learning model; c) forming a plurality of groups of the outputs associated with the plurality of images, by grouping similar ones of the outputs together; d) comparing the plurality of groups to a plurality of lists of expected items, each of the plurality of lists of expected items associated with one of the plurality of stacks; and e) based upon step d), assigning one of the expected items to each of the plurality of groups.
 13. The system of claim 12 wherein the operations further include: g) training at least one new machine learning model using at least one of the plurality of images to which one of the expected items was assigned in step e).
 14. The system of claim 12 wherein operation e) includes using elimination based upon the images of the plurality of stacks and based upon the plurality of lists of expected items.
 15. The system of claim 12 wherein the plurality of stacks are stacked on a plurality of pallets.
 16. The system of claim 15 wherein the plurality of items are a plurality of packages.
 17. The system of claim 16 wherein the plurality of packages contain beverage containers and wherein the at least one machine learning model is trained on images of a plurality of known packages containing beverage containers.
 18. The system of claim 16 further including at least one camera for taking the plurality of images of the stacks of the plurality of items.
 19. A method for identifying a plurality of packages stacked on at least one pallet using a computing system, the method including: a) receiving a plurality of images including at least one image of each the plurality of packages on the at least one pallet; b) generating an output based upon each of the plurality of images; c) grouping similar ones of the outputs into each of a plurality of groups; d) comparing the plurality of groups to at least one list of SKUs expected to be on the at least one pallet; and e) based upon step d), assigning one of the SKUs to one of the plurality of groups.
 20. The method of claim 19 wherein step e) includes assigning each of the SKUs to a different one of the plurality of groups.
 21. The method of claim 19 wherein step c) is performed based upon an analysis by the computing system using at least one machine learning model trained with images of packages.
 22. The method of claim 21 wherein the at least one machine learning model is trained with images of packages of beverage containers.
 23. The method of claim 22 wherein step e) includes assigning each of the SKUs to a different one of the plurality of groups.
 24. The method of claim 23 further including training a new machine learning model based upon the plurality of images.
 25. The method of claim 19 wherein the at least one pallet is a plurality of pallets.
 26. The method of claim 25 wherein step c) is performed based upon an analysis by the computing system using at least one machine learning model trained with images of packages of beverage containers and wherein the plurality of packages are packages of beverage containers.
 27. A computing system for identifying SKUs of each of a plurality of packages of beverage containers on at least one pallet comprising: at least one processor; and at least one non-transitory computer-readable medium storing: at least one machine learning model; and instructions that, when executed by the at least one processor, cause the computing system to perform operations comprising: a) receiving a plurality of images of the plurality of packages including at least one image of each of the plurality of packages on each of the at least one pallet; b) generating an output based upon each of the plurality of images using the at least one machine learning model; c) forming a plurality of groups of the outputs associated with the plurality of images, by grouping similar ones of the outputs together; d) comparing the plurality of groups to at least one list of SKUs expected to be on each at least one pallet; and e) based upon step d), assigning one of the SKUs to each of the plurality of groups.
 28. The computing system of claim 27 wherein the at least one machine learning model is trained on images of packages of beverage containers.
 29. The computing system of claim 28 wherein the operations include using elimination based upon the plurality of images and based upon the at least one list of SKUs.
 30. The computing system of claim 29 further including at least one camera for taking the plurality of images. 